package com.qfedu.stussm.service.intf;

import com.qfedu.stussm.dto.JclassDto;
import com.qfedu.stussm.entity.Jclass;
import com.qfedu.stussm.vo.PageBeanVo;
import com.qfedu.stussm.vo.R;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface JclassService {
    R add (Jclass jclass);
    PageBeanVo selectAll (String name, int page, int limit);
    R delete (Integer id);
    R update (JclassDto jclass);
    /**
     * 实现文件下载 Excel*/
    void createExcel(HttpServletResponse response) throws IOException;
    R delMany (Integer[] ids);
}
